package com.example.mybatisplusdemo.domain;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class Dog {
    @Value("${persion.dog.name}")
    private String name;

    @Value("${persion.dog.age}")
    private Integer age;
}
